Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "save-my-data">

It allows to save the personal data on My Personal Data.

Inputs

A JSON with these parameters:
variablename string
The name of the variable you want to retrieve
motivation string
The reason you entered earlier for saving the data
variableunit string
Unit of measurement of the value of the variable inserted
variablevalue string
Value that you want to save on My Personal Data

Outputs

Returns the value entered with its metadata

Details

The node can receive a JSON with the parameters described in the Inputs section and with them generate the output JSON. If the values are not present in the input JSON, these are read by those in the configuration. If they are not present in either part, an error is generated for the necessary parameters.